package com.example.practical_training_projects.service;

import com.example.practical_training_projects.entity.praise_articles;
import com.example.practical_training_projects.mapper.praise_articlesMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class praise_articlesServicelmpl implements praise_articlesService{
    @Autowired
    private praise_articlesMapper mapper;

    @Override
    public Integer insertpraise(Integer a_uid, Integer user_uid) {
        return mapper.insertpraise(a_uid,user_uid);
    }

    @Override
    public praise_articles checkpraise(Integer a_uid, Integer user_uid) {
        return mapper.checkpraise(a_uid,user_uid);
    }

    @Override
    public Integer deletepraise(Integer a_uid, Integer user_uid) {
        return mapper.deletepraise(a_uid,user_uid);
    }
}
